#Entry可以输入单行文本
from tkinter import *
root = Tk()
frame = Frame(root)
data = StringVar()
label = Label(frame,textvariable=data) 
entry = Entry(frame,textvariable=data)

